// 封装本地存储 存储数据与读取数据方法
export const setToken = (token: string) => {
    localStorage.setItem("token", token);
}

export const getToken = () => {
    return localStorage.getItem("token");
}

// 本地存储删除token
export const removeToken = () => {
    localStorage.removeItem("token");
}